package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Report;
import cn.wolfcode.crm.query.QueryObject;

import java.util.Date;
import java.util.List;

public interface ReportMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Report entity);

    Report selectByPrimaryKey(Long id);

    List<Report> selectAll();

    int updateByPrimaryKey(Report entity);

    void changeState(Long id);

    int query4Count(QueryObject qo);

    List<Report> query4List(QueryObject qo);

    int selectGuardId(String getguard);

    int selectCarnum(String carnumber);

    int selectDate(Date happendate);
}